<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Home页面</title>
    <link rel="stylesheet" href="../static/component/bootstrap-3.3.7-dist/css/bootstrap.css" th:href="@{/static/component/bootstrap-3.3.7-dist/css/bootstrap.css}">
</head>
<body>
<div class="panel panel-primary">
    <div class="panel-heading">
        <h3 class="panel-title">Home页面</h3>
    </div>
</div>
<h3>
    <p>欢迎[<span color="red" th:text="${user}">用户名</span>]访问Home页面！
        您的权限是：<span color="red" th:text="${role}">权限</span></p>
    <p><a href="admin">访问admin页面</a></p>
    <p><a href="logout">安全退出</a></p>
</h3>
</body>
</html>